package com.zlp.weixin.Test;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 微服务电商项目
 *
 * @Description:
 * @CreateDate: Created in 2019/3/27 11:35
 * @Author: zouliping
 */
@RestController
public class TestApollo {
    @Value("${userName}")
    private String userName;

    @GetMapping("getUserName")
    public String getUserName(){
        return userName;
    }
}
